Otter SDK Reference
Version:

Security_AddPrivilegeAsync(int? Privilege_Id, int? UserDirectory_Id, string Principal_Name, string PrincipalType_Code, int? Role_Id, int? Environment_Id, string PrivilegeType_Code) Method

Grants or denies the specified principal the ability to perform a certain role

Syntax

public Task<int?> Security_AddPrivilegeAsync(int? Privilege_Id, int? UserDirectory_Id, string Principal_Name, string PrincipalType_Code, int? Role_Id, int? Environment_Id, string PrivilegeType_Code)

Parameters

Privilege_Id
Type: int?
UserDirectory_Id
Type: int?
Principal_Name
Type: string
PrincipalType_Code
Type: string
Role_Id
Type: int?
Environment_Id
Type: int?
PrivilegeType_Code
Type: string