C# 클래스 GSF.Snap.Services.Net.SocketUserPermissions

Permissions associated with an individual user.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian

공개 프로퍼티들

프로퍼티 타입 설명
CanRead bool
CanWrite bool
IsAdmin bool

공개 메소드들

메소드 설명
Load ( Stream stream ) : void

Loads the token from a stream

Save ( Stream stream ) : void

Saves the token to a stream

메소드 상세

Load() 공개 메소드

Loads the token from a stream
public Load ( Stream stream ) : void
stream System.IO.Stream the stream to load from
리턴 void

Save() 공개 메소드

Saves the token to a stream
public Save ( Stream stream ) : void
stream System.IO.Stream the stream to save to
리턴 void

프로퍼티 상세

CanRead 공개적으로 프로퍼티

Gets if the user can perform read operations
public bool CanRead
리턴 bool

CanWrite 공개적으로 프로퍼티

Gets if the user can perform write operations
public bool CanWrite
리턴 bool

IsAdmin 공개적으로 프로퍼티

Gets if the user can perform admin operations
Admin operations would include Detatching/Deleting/Moving archive file.
public bool IsAdmin
리턴 bool