Self Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the local signed in user. Self is used to publish your information for other people to see.
public ref class Self : Microsoft::Lync::Model::Internal::UCWFull
public class Self : Microsoft.Lync.Model.Internal.UCWFull
type Self = class
inherit UCWFull
Public Class Self
Inherits UCWFull
- Inheritance
Properties
Contact |
Gets the Contact object that represents the local user as self that can be used as a normal contact. |
InnerObject | (Inherited from UCWBase) |
IsInResiliencyMode |
Returns true if the Lync client is in resiliency mode. |
Permissions |
Gets the permission collection. |
PhotoDisplayed |
Returns true if showing photos for contacts is allowed. |
TestCallEndpoint |
Returns the Collaboration Endpoint that can be used for call testing. |
Methods
BeginPublishContactInformation(IEnumerable<KeyValuePair<PublishableContactInformationType,Object>>, AsyncCallback, Object) |
Publish presence items be set for self. |
BeginRemovePhone(ContactEndpointType, AsyncCallback, Object) |
Removes a phone of the specified type from the user's phones collection. |
BeginSetPhone(ContactEndpointType, String, Boolean, AsyncCallback, Object) |
Add the phone if not exist, update if exist. |
CanSetPhone(ContactEndpointType) |
Returns true when the specific type can be set. |
EndPublishContactInformation(IAsyncResult) |
Blocks the calling thread until BeginPublishContactInformation completes. |
EndRemovePhone(IAsyncResult) |
Blocks the calling thread until BeginRemovePhone completes. |
EndSetPhone(IAsyncResult) |
Blocks the calling thread until BeginSetPhone completes. |
Finalize() | |
GetAlertLevelForNotification(String, NotificationTypes, NotificationUrgencyType) |
Returns the AlertLevel that represents the current policy for notifications. |
GetPhone(ContactEndpointType) |
Get the phone. |
GetPublishableCustomAvailabilityStates(Int32) |
Returns the array of CustomAvailabilityState objects based on the optional locale id. |
Events
AlertLevelChanged |
Raised when the local user has changed their do-not-disturb level joined a meeting as a presenter and shared a resource such as a primary monitor. |
PhonesChanged |
Raised when phones changed. |
ResiliencyModeChanged |
Raised when the resiliency mode is changed. |