다음을 통해 공유


PermissionInfo.Grantor 속성

Gets the name of the database user, logon, or database role who granted or denied access to the object.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public ReadOnly Property Grantor As String 
    Get
‘사용 방법
Dim instance As PermissionInfo 
Dim value As String 

value = instance.Grantor
public string Grantor { get; }
public:
property String^ Grantor {
    String^ get ();
}
member Grantor : string
function get Grantor () : String

속성 값

유형: System.String
A String value that specifies the name of the grantee.

주의

This property is empty when column permissions are not enumerated.

권한 부여, 취소 및 거부

참고 항목

참조

PermissionInfo 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

사용 권한(데이터베이스 엔진)

sys.syspermissions(Transact-SQL)