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

Permissions associated with an individual user.
Show file 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 property

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

CanWrite public property

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

IsAdmin public property

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