UserSecurityServicesRemovePermissionsFromRole Method |
Removes the specified security permissions from a security role. All existing permissions for the role are retained
except for the permissions specified. If permissions are specified by the permissions parameter which are not
associated to the role, they will be ignored.
Namespace:
FactoryLogix.xTend.Configuration
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public void RemovePermissionsFromRole(
Guid sessionId,
string roleName,
IEnumerable<Permission> permissions
)
Public Sub RemovePermissionsFromRole (
sessionId As Guid,
roleName As String,
permissions As IEnumerable(Of Permission)
)
public:
virtual void RemovePermissionsFromRole(
Guid sessionId,
String^ roleName,
IEnumerable<Permission^>^ permissions
) sealed
abstract RemovePermissionsFromRole :
sessionId : Guid *
roleName : string *
permissions : IEnumerable<Permission> -> unit
override RemovePermissionsFromRole :
sessionId : Guid *
roleName : string *
permissions : IEnumerable<Permission> -> unit
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - roleName
- Type: SystemString
The friendly name of the security role - permissions
- Type: System.Collections.GenericIEnumerablePermission
A list of Permission objects that are to be associated to the specified security role.>
Exceptions See Also