UserSecurityServicesGetUserPermissions Method |
Retrieves the security permissions associated to the specified user.
Namespace:
FactoryLogix.xTend.Configuration
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public IEnumerable<Permission> GetUserPermissions(
Guid sessionId,
string userName
)
Public Function GetUserPermissions (
sessionId As Guid,
userName As String
) As IEnumerable(Of Permission)
public:
virtual IEnumerable<Permission^>^ GetUserPermissions(
Guid sessionId,
String^ userName
) sealed
abstract GetUserPermissions :
sessionId : Guid *
userName : string -> IEnumerable<Permission>
override GetUserPermissions :
sessionId : Guid *
userName : string -> IEnumerable<Permission>
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - userName
- Type: SystemString
The user name of the user whose permissions are being retrieved.
Return Value
Type:
IEnumerablePermissionA list of
Permission objects that are associated to the user specified by the userName parameter.
Exceptions See Also