C# Class GSF.Snap.Services.Net.SocketUserPermissions

Permissions associated with an individual user.
ファイルを表示 Open project: GridProtectionAlliance/openHistorian

Public Properties

Property Type Description
CanRead bool
CanWrite bool
IsAdmin bool

Public Methods

Method Description
Load ( Stream stream ) : void

Loads the token from a stream

Save ( Stream stream ) : void

Saves the token to a stream

Method Details

Load() public method

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

Save() public method

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

Property Details

CanRead public_oe property

Gets if the user can perform read operations
public bool CanRead
return bool

CanWrite public_oe property

Gets if the user can perform write operations
public bool CanWrite
return bool

IsAdmin public_oe property

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