UserAdd |
Top Previous Next |
SOAP PSRattrAdd( aHandle, aUserGroupName, aUserLogin, aProjectName, aStudyName, aReportName, aReportType, aPSRattrName, aObjType, aParameters, &aErrorMsg );
REST /PSRattrAdd?Handle=<value>&UserGroup=<value>&UserLogin=<value> &Project=<value>&Study=<value>&Report=<value>&ReportType=<value> &PSRattrName=<value>&ObjType=<value>&Parameters=<value> returns ErrorMsg returns ErrorMsg
Description: PSRattrAdd() creates a new PSRattr object to the CrashMagic system.
aHandle The value created in the call to Login(). aUserGroupName The user group into which the new PSRattr will be created. This group must exist prior to the call. aUserLogin The user into which the new PSRattr will be created. This user must exist prior to the call. aProjectName, aStudyName, aReportName, aReportType (optional) Most PSRattr objects reside with a user. However, they may also reside at any of these levels if specified. aPSRattrName Name of the new PSRattr aObjType Type of the new PSRattr aParameters Reserved for future use, must be blank &aErrorMsg is populated only if an error occurred that prevented the function from succeeding. Otherwise, this parameter is empty.
Example: PSRattrAdd( lHandle, "DOT@NY", "Scott", "","","","", "MyPSRattr","diagram.template","", lErrorMsg ); |