ProGet SDK Reference
Version:

Security_AddPrivilege(int? Privilege_Id, int? UserDirectory_Id, string Principal_Name, string PrincipalType_Code, int? Role_Id, int? Feed_Id, string PrivilegeType_Code) Method

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

Syntax

public static int? Security_AddPrivilege(int? Privilege_Id, int? UserDirectory_Id, string Principal_Name, string PrincipalType_Code, int? Role_Id, int? Feed_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?
Feed_Id
Type: int?
PrivilegeType_Code
Type: string