Class Extensions
Server extensions for performing escalations along with other helper methods
Inheritance
System.Object
Extensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Innovator.Server
Assembly: Innovator.Client.dll
Syntax
public static class Extensions
Methods
| Improve this Doc View SourceAsAdmin(IServerConnection)
Adds "Administrators" to the identity list of the current connection
Declaration
public static IDisposable AsAdmin(this IServerConnection conn)
Parameters
Type | Name | Description |
---|---|---|
IServerConnection | conn | The connection to escalate. |
Returns
Type | Description |
---|---|
System.IDisposable | A System.IDisposable object. Calling System.IDisposable.Dispose() will return the identity list to its original state |
AsArasPlm(IServerConnection)
Adds "ArasPlm" to the identity list of the current connection
Declaration
public static IDisposable AsArasPlm(this IServerConnection conn)
Parameters
Type | Name | Description |
---|---|---|
IServerConnection | conn | The connection to escalate. |
Returns
Type | Description |
---|---|
System.IDisposable | A System.IDisposable object. Calling System.IDisposable.Dispose() will return the identity list to its original state |