EnvironmentInfo.GetExplicitPermissions Method (String)
Retrieves the explicit permissions of the EnvironmentInfo object for a specified user.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)
Syntax
'Declaration
Public Function GetExplicitPermissions ( _
userName As String _
) As ExplicitPermissionInfo()
'Usage
Dim instance As EnvironmentInfo
Dim userName As String
Dim returnValue As ExplicitPermissionInfo()
returnValue = instance.GetExplicitPermissions(userName)
public ExplicitPermissionInfo[] GetExplicitPermissions(
string userName
)
public:
array<ExplicitPermissionInfo^>^ GetExplicitPermissions(
String^ userName
)
member GetExplicitPermissions :
userName:string -> ExplicitPermissionInfo[]
public function GetExplicitPermissions(
userName : String
) : ExplicitPermissionInfo[]
Parameters
- userName
Type: System.String
The user name.
Return Value
Type: array<Microsoft.SqlServer.Management.IntegrationServices.ExplicitPermissionInfo[]
The permission array.
See Also
Reference
GetExplicitPermissions Overload
Microsoft.SqlServer.Management.IntegrationServices Namespace