共用方式為


EnvironmentInfo.GetExplicitPermissions Method

Definition

Gets the explicit permissions of the EnvironmentInfo object.

Overloads

GetExplicitPermissions()

Retrieves the explicit permissions of the EnvironmentInfo object.

GetExplicitPermissions(String)

Retrieves the explicit permissions of the EnvironmentInfo object for a specified user.

GetExplicitPermissions()

Retrieves the explicit permissions of the EnvironmentInfo object.

public:
 cli::array <Microsoft::SqlServer::Management::IntegrationServices::ExplicitPermissionInfo ^> ^ GetExplicitPermissions();
public Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[] GetExplicitPermissions ();
member this.GetExplicitPermissions : unit -> Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[]
Public Function GetExplicitPermissions () As ExplicitPermissionInfo()

Returns

The permission array.

Applies to

GetExplicitPermissions(String)

Retrieves the explicit permissions of the EnvironmentInfo object for a specified user.

public:
 cli::array <Microsoft::SqlServer::Management::IntegrationServices::ExplicitPermissionInfo ^> ^ GetExplicitPermissions(System::String ^ userName);
public Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[] GetExplicitPermissions (string userName);
member this.GetExplicitPermissions : string -> Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[]
Public Function GetExplicitPermissions (userName As String) As ExplicitPermissionInfo()

Parameters

userName
String

The user name.

Returns

The permission array.

Applies to