PIIdentity.GetUserMemberships Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Get all the PI Users associated with this PIGroup identity.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public IList<string> GetUserMemberships()
Public Function GetUserMemberships As IList(Of String) Dim instance As PIIdentity Dim returnValue As IList(Of String) returnValue = instance.GetUserMemberships()
public: IList<String^>^ GetUserMemberships()
member GetUserMemberships : unit -> IList<string>
Return Value
Type: IListStringReturns a list of user names associated with this identity.
Remarks
This method is only valid for an identity type of PIGroup.
This method should only be called if IsDirty is , i.e. not impending changes to the PIIdentity object.