ResourceAuthorizationDataSet.CategoryPermissionsDataTable.AddCategoryPermissionsRow method (Guid, Guid, Guid, Boolean, Boolean)
Adds a CategoryPermissionsRow object to the CategoryPermissionsDataTable by using separate parameters.
Namespace: WebSvcResource
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
Public Function AddCategoryPermissionsRow ( _
RES_UID As Guid, _
WSEC_CAT_UID As Guid, _
WSEC_FEA_ACT_UID As Guid, _
WSEC_ALLOW As Boolean, _
WSEC_DENY As Boolean _
) As ResourceAuthorizationDataSet.CategoryPermissionsRow
'Usage
Dim instance As ResourceAuthorizationDataSet.CategoryPermissionsDataTable
Dim RES_UID As Guid
Dim WSEC_CAT_UID As Guid
Dim WSEC_FEA_ACT_UID As Guid
Dim WSEC_ALLOW As Boolean
Dim WSEC_DENY As Boolean
Dim returnValue As ResourceAuthorizationDataSet.CategoryPermissionsRow
returnValue = instance.AddCategoryPermissionsRow(RES_UID, _
WSEC_CAT_UID, WSEC_FEA_ACT_UID, _
WSEC_ALLOW, WSEC_DENY)
public ResourceAuthorizationDataSet.CategoryPermissionsRow AddCategoryPermissionsRow(
Guid RES_UID,
Guid WSEC_CAT_UID,
Guid WSEC_FEA_ACT_UID,
bool WSEC_ALLOW,
bool WSEC_DENY
)
Parameters
RES_UID
Type: System.GuidContains the resource GUID.
WSEC_CAT_UID
Type: System.GuidContains the GUID of the Web security permissions category.
WSEC_FEA_ACT_UID
Type: System.GuidContains the GUID of the active feature that is managed by Web security.
WSEC_ALLOW
Type: System.BooleanContains the Boolean value that specifies whether Web security allows resource authorization.
WSEC_DENY
Type: System.BooleanContains the Boolean value that specifies whether Web security denies resource authorization.
Return value
Type: WebSvcResource.ResourceAuthorizationDataSet.CategoryPermissionsRow
Remarks
In general, developers should use the AddCategoryPermissionsRow overload.
See also
Reference
ResourceAuthorizationDataSet.CategoryPermissionsDataTable class
ResourceAuthorizationDataSet.CategoryPermissionsDataTable members