User.EnumObjectPermissions Method (String)

 

Enumerates a list of object permissions for a specified grantee on the database user.

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

public ObjectPermissionInfo[] EnumObjectPermissions(
	string granteeName
)

Parameters

granteeName
Type: System.String

A String value that specifies the grantee.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]

An array of ObjectPermissionInfo objects that contains object permission information for the specified grantee on the database user.

Return to top
Show: