Returns the current user ID (SharePoint user ID).
Verifies whether user is a member of specified groups.
const requestProps = { groups: ["wf-accountants"], disableRecursive: true, groupType: "SP" };
const membershipResult = await tisa.user.isMemberOfGroup(requestProps);
const isAccountant = membershipRequest["wf-accountants"].isMember;
if (isAccountant) {
console.log("Current user is a member of a SharePoint group wf-accountants!");
}
Determines whether the current user has administrative permissions on the website.
Provides access to current user information.