UserSecurityServicesCreateRole Method |
Create a new security role that may be later assigned to users and user groups.
Namespace:
FactoryLogix.xTend.Configuration
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public Role CreateRole(
Guid sessionId,
Role newRole
)
Public Function CreateRole (
sessionId As Guid,
newRole As Role
) As Role
public:
virtual Role^ CreateRole(
Guid sessionId,
Role^ newRole
) sealed
abstract CreateRole :
sessionId : Guid *
newRole : Role -> Role
override CreateRole :
sessionId : Guid *
newRole : Role -> Role
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - newRole
- Type: FactoryLogix.xTend.DataObjectsRole
The new Role object to be created. The Name property must supply a unique friendly for the new Role
Return Value
Type:
RoleA
Role object representing the newly created security role, with a valid Id parameter supplied that may be used for susequent updates and other method calls
Exceptions See Also