ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsDataTable.AddSecurityPrincipleCategoryRelationsRow Method (Guid, Guid)
Adds a SecurityPrincipleCategoryRelationsRow object to the SecurityPrincipleCategoryRelationsDataTable 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 AddSecurityPrincipleCategoryRelationsRow ( _
RES_UID As Guid, _
WSEC_CAT_UID As Guid _
) As ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRow
'Usage
Dim instance As ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsDataTable
Dim RES_UID As Guid
Dim WSEC_CAT_UID As Guid
Dim returnValue As ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRow
returnValue = instance.AddSecurityPrincipleCategoryRelationsRow(RES_UID, _
WSEC_CAT_UID)
public ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRow AddSecurityPrincipleCategoryRelationsRow(
Guid RES_UID,
Guid WSEC_CAT_UID
)
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.
Return Value
Type: [Resource Web service].ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsRow
Remarks
In general, developers should use the AddSecurityPrincipleCategoryRelationsRow overload.
See Also
Reference
ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsDataTable Class
ResourceAuthorizationDataSet.SecurityPrincipleCategoryRelationsDataTable Members