Plegma API  v2
Yodiwo.API.Plegma.SubUserKey Struct Reference

Globally unique identifier of a Yodiwo.API.Plegma.SubUserKey More...

Inheritance diagram for Yodiwo.API.Plegma.SubUserKey:

Public Member Functions

 SubUserKey (string userId, string subUserEmail)
 
 SubUserKey (UserKey userKey, string subUserEmail)
 
 SubUserKey (string str)
 
void FillFromString (string input)
 
override string ToString ()
 
string ToStringFullSize ()
 like ToString() but fills digits with leading zeros More...
 
void GetBytes (byte[] bytes, int index)
 write the key to a byte array More...
 
string ToStringEx ()
 User-Friendly string (invalid as key) More...
 
bool Equals (SubUserKey other)
 
bool Equals (ref SubUserKey other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool CheckValid (UserKey userKey, string id)
 
static implicit operator SubUserKey (string str)
 
static implicit operator string (SubUserKey key)
 
static SubUserKey ConvertFromString (string stringValue)
 
static SubUserKey FromBytes (byte[] bytes, int index)
 get key from byte array More...
 
static bool operator== (SubUserKey left, SubUserKey right)
 
static bool operator!= (SubUserKey left, SubUserKey right)
 

Public Attributes

UserKey UserKey
 
string SubUserID
 
bool _IsValid
 
const int MinSubUserIdLength = 5
 
const int MaxSubUserIdLength = 100
 
const int MinKeyLength = UserKey.MinKeyLength + 1 + MinSubUserIdLength
 
const int MaxKeyLength = UserKey.MaxKeyLength + 1 + MaxSubUserIdLength
 

Properties

string SubUserEmail [get]
 
bool IsValid [get]
 
bool IsInvalid [get]
 

Detailed Description

Globally unique identifier of a Yodiwo.API.Plegma.SubUserKey

Member Function Documentation

static SubUserKey Yodiwo.API.Plegma.SubUserKey.FromBytes ( byte[]  bytes,
int  index 
)
static

get key from byte array

void Yodiwo.API.Plegma.SubUserKey.GetBytes ( byte[]  bytes,
int  index 
)

write the key to a byte array

string Yodiwo.API.Plegma.SubUserKey.ToStringEx ( )

User-Friendly string (invalid as key)

string Yodiwo.API.Plegma.SubUserKey.ToStringFullSize ( )

like ToString() but fills digits with leading zeros


The documentation for this struct was generated from the following file: