Sdílet prostřednictvím


ResourceAuthorizationDataSet.GlobalPermissionsDataTable.AddGlobalPermissionsRow Method (Guid, Guid, Boolean, Boolean)

Adds a GlobalPermissionsRow object to the GlobalPermissionsDataTable 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 AddGlobalPermissionsRow ( _
    RES_UID As Guid, _
    WSEC_FEA_ACT_UID As Guid, _
    WSEC_ALLOW As Boolean, _
    WSEC_DENY As Boolean _
) As ResourceAuthorizationDataSet.GlobalPermissionsRow
'Usage
Dim instance As ResourceAuthorizationDataSet.GlobalPermissionsDataTable
Dim RES_UID As Guid
Dim WSEC_FEA_ACT_UID As Guid
Dim WSEC_ALLOW As Boolean
Dim WSEC_DENY As Boolean
Dim returnValue As ResourceAuthorizationDataSet.GlobalPermissionsRow

returnValue = instance.AddGlobalPermissionsRow(RES_UID, _
    WSEC_FEA_ACT_UID, WSEC_ALLOW, WSEC_DENY)
public ResourceAuthorizationDataSet.GlobalPermissionsRow AddGlobalPermissionsRow(
    Guid RES_UID,
    Guid WSEC_FEA_ACT_UID,
    bool WSEC_ALLOW,
    bool WSEC_DENY
)

Parameters

  • RES_UID
    Type: System.Guid
    Contains the resource GUID.
  • 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.GlobalPermissionsRow

See Also

Reference

ResourceAuthorizationDataSet.GlobalPermissionsDataTable Class

ResourceAuthorizationDataSet.GlobalPermissionsDataTable Members

AddGlobalPermissionsRow Overload

Resource Web Service