以下是示例代码:
VssConnection connection = new VssConnection(new Uri(collectionUrl), new VssBasicCredential(string.Empty, pat));
UserEntitlementsPatch patchDocument = new UserEntitlementsPatch { AccessLevel = UserAccessLevel.Basic };
UserEntitlementOperationResult[] result = await connection.GetClient