ResourceAuthorizationDataSet.CategoryPermissionsDataTable.AddCategoryPermissionsRow Method (Guid, Guid, Guid, Boolean, Boolean)
Adds a CategoryPermissionsRow object to the CategoryPermissionsDataTable by using separate parameters.
Namespace: [Resource Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Resource.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Resource.asmx?wsdl
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.Guid
Contains the resource GUID.
- WSEC_CAT_UID
Type: System.Guid
Contains the GUID of the Web security permissions category.
- WSEC_FEA_ACT_UID
Type: System.Guid
Contains the GUID of the active feature that is managed by Web security.
- WSEC_ALLOW
Type: System.Boolean
Contains the Boolean value that specifies whether Web security allows resource authorization.
- WSEC_DENY
Type: System.Boolean
Contains the Boolean value that specifies whether Web security denies resource authorization.
Return Value
Type: [Resource Web service].ResourceAuthorizationDataSet.CategoryPermissionsRow
Remarks
In general, developers should use the AddCategoryPermissionsRow overload.
See Also
Reference
ResourceAuthorizationDataSet.CategoryPermissionsDataTable Class
ResourceAuthorizationDataSet.CategoryPermissionsDataTable Members