Export (0) Print
Expand All

ObjectPermissionSet.Impersonate Property

Gets or sets the Boolean property value that specifies whether to include the IMPERSONATE permission in the permission set. The permission lets the grantee impersonate the user or the login.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public bool Impersonate { get; set; }

Property Value

Type: Boolean
A Boolean value that specifies whether to include the IMPERSONATE permission in the permission set.If True, the permission is included in the permission set.If False (default), the permission is excluded from the permission set.

You can use the IMPERSONATE permission with an application role, so that when the application runs, it has the same permissions as the specified user.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft