Share via


EnvironmentInfo.Deny(PermissionType, String) Method

Definition

Denies the permission to a specified user.

public:
 void Deny(Microsoft::SqlServer::Management::IntegrationServices::PermissionType permission, System::String ^ granteeName);
public void Deny (Microsoft.SqlServer.Management.IntegrationServices.PermissionType permission, string granteeName);
member this.Deny : Microsoft.SqlServer.Management.IntegrationServices.PermissionType * string -> unit
Public Sub Deny (permission As PermissionType, granteeName As String)

Parameters

permission
PermissionType

The permission type.

granteeName
String

The name of the user.

Applies to