GetAuthorizedProfileDefinitionNames Method
Returns a list of profile definitions names against which the caller is authorized to perform specific operations.
Namespace: Microsoft.CommerceServer.Profiles.WebService
Assembly: Microsoft.CommerceServer.Profiles.DataManagement (in Microsoft.CommerceServer.Profiles.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Function GetAuthorizedProfileDefinitionNames ( _
requiredPermissions As ProfilePermissions _
) As String()
'Usage
Dim instance As ProfilesWebService
Dim requiredPermissions As ProfilePermissions
Dim returnValue As String()
returnValue = instance.GetAuthorizedProfileDefinitionNames(requiredPermissions)
[WebMethodAttribute]
public virtual string[] GetAuthorizedProfileDefinitionNames(
ProfilePermissions requiredPermissions
)
[WebMethodAttribute]
public:
virtual array<String^>^ GetAuthorizedProfileDefinitionNames(
ProfilePermissions requiredPermissions
)
public function GetAuthorizedProfileDefinitionNames(
requiredPermissions : ProfilePermissions
) : String[]
Parameters
- requiredPermissions
Type: Microsoft.CommerceServer.Profiles..::.ProfilePermissions
A ProfilePermissions value describing what operations the caller needs to perform.
Return Value
Type: array<System..::.String>[]()[]
The names of profile definitions against which the caller can perform the specified operations.
Remarks
The name of the profile definitions against which the caller can perform the specified permission.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.